package com.xoa.dao.flowRunFeedback;

import com.xoa.model.flowRunFeedback.FlowRunFeedback;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
import java.util.Objects;

public interface FlowRunFeedbackMapper {

    int insertSelective(FlowRunFeedback record);

    List<FlowRunFeedback> select(Map<String, Object> map);

    List<FlowRunFeedback> selectprcsId(Map<String, Object> map);

    List<FlowRunFeedback> selectRunId(Map<String, Object> map);

    List<FlowRunFeedback> selectFeedBackByRunId(Map<String, Object> map);

    List<FlowRunFeedback> selectFlowFeedBackByRunId(@Param("runId") String runId);

    List<FlowRunFeedback> findFinalfeedback(Integer runId);

    List<FlowRunFeedback> findFinalfeedbackByDataId(@Param("runId")Integer runId, @Param("feedFlag") String feedFlag);

    void delFlowRunFeedBack(Integer runId);

    void delFlowRunFeedBackBylist(List<Integer> list);
}